﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{:app_conf("SHOP_TITLE")} - {:l("SYSTEM_LOGIN")} </title>
<load href='__TMPL__Common/login/style.css' />
 
<script type="text/javascript">
	//定义JS语言
	var ADM_NAME_EMPTY = '{:l("ADM_NAME_EMPTY")}';
	var ADM_PASSWORD_EMPTY = '{:l("ADM_PASSWORD_EMPTY")}';
	var ADM_VERIFY_EMPTY = '{:l("ADM_VERIFY_EMPTY")}';
	var L_jumpUrl = '{:U("Index/index")}';
	function resetwindow()
	{
		if(top.location != self.location)
		{
			top.location.href = self.location.href;
			return 
		}
	}
	resetwindow();
	
</script>
<load href='__TMPL__Common/js/des.js' />
<load href='__TMPL__Common/js/jquery.js' />
<load href='__TMPL__Common/js/jquery.timer.js' />
<load href='__TMPL__Common/js/login.js' />
<load href='__TMPL__Common/js/check_dog.js' />
<load href='__TMPL__Common/js/IA300ClientJavascript.js' />
<script type="text/javascript">
	var __LOGIN_KEY = "{:LOGIN_DES_KEY()}";
</script>
     
<script type="text/javascript">
$(function(){
	//得到焦点
	$("#password").focus(function(){
		$("#left_hand").animate({
			left: "150",
			top: " -38"
		},{step: function(){
			if(parseInt($("#left_hand").css("left"))>140){
				$("#left_hand").attr("class","left_hand");
			}
		}}, 2000);
		$("#right_hand").animate({
			right: "-64",
			top: "-38px"
		},{step: function(){
			if(parseInt($("#right_hand").css("right"))> -70){
				$("#right_hand").attr("class","right_hand");
			}
		}}, 2000);
	});
	//失去焦点
	$("#password").blur(function(){
		$("#left_hand").attr("class","initial_left_hand");
		$("#left_hand").attr("style","left:100px;top:-12px;");
		$("#right_hand").attr("class","initial_right_hand");
		$("#right_hand").attr("style","right:-112px;top:-12px");
	});
});
</script>
 
</head> 
<body onLoad="javascript:DogPageLoad();">
<form action="{:u("Public/do_login")}">
<div class="top_div"></div>
<div style="background: rgb(255, 255, 255); margin: -100px auto auto; border: 1px solid rgb(231, 231, 231); border-image: none; width: 400px; height: 260px; text-align: center;">
<div style="width: 165px; height: 96px; position: absolute;">
<div class="tou"></div>
<div class="initial_left_hand" id="left_hand"></div>
<div class="initial_right_hand" id="right_hand"></div></div>

<p style="padding: 30px 0px 10px; position: relative;">
    <span class="u_logo"></span>         
    <input class="ipt adm_name" type="text" name="adm_name" placeholder="请输入用户名或邮箱" value=""> 
</p>
    
<p style="position: relative;">
    <span class="p_logo"></span>         
    <input class="ipt adm_password" type="password" name="adm_password" id="password" placeholder="请输入密码" value="">   
</p>

<p id="CHECK_DOG_BOX" style="display:none;">
    <input type="password"  name="adm_dog_key">
</p>

<p style="padding: 10px 0px 10px; position: relative;">
    <span class="verify"></span>         
    <input class="ipt ivf adm_verify" name="adm_verify" type="text" placeholder="请输入验证码" value=""> 
    <img src="__ROOT__/verify.php?w=90&h=34&"  align="absmiddle" onclick='this.src=this.src+"&"+Math.random()'/>
</p>

<div style="height: 50px; line-height: 50px; margin-top: 30px; border-top-color: rgb(231, 231, 231); border-top-width: 1px; border-top-style: solid;">
<p style="margin: 0px 35px 20px 45px; text-align:right;">
<span style="float: left;" id="login_msg"></span>
              <a style="background: rgb(0, 142, 173); padding: 7px 10px; border-radius: 4px; border: 1px solid rgb(26, 117, 152); border-image: none; color: rgb(255, 255, 255); font-weight: bold;" 
href="javascript:void(0);" class="login_button submit" id="login_btn">登录</a> 
           </span>         </p></div></div>
</form>
<script language="Javascript">
    if(CHECK_DOG){
        $("#CHECK_DOG_BOX").show();
    }
</script>

</body>
</html>